'Declaration Public Overloads Shared Function TryGetArray(Of T As IPdfObject)( _ ByVal dict As IPdfDict, _ ByVal key As PdfName, _ ByRef value() As T, _ ByVal singleToArray As System.Boolean, _ ByVal allowNulls As System.Boolean, _ ByVal addWarning As System.Boolean _ ) As System.Boolean
public static System.bool TryGetArray<T>( IPdfDict dict, PdfName key, out T[] value, System.bool singleToArray, System.bool allowNulls, System.bool addWarning ) where T: IPdfObject
Parameters
- dict
- The current dictionary.
- key
- The key identifying the array.
- value
- OUT: The array of T.
- singleToArray
- Indicates whether to convert a single T value to an array.
- allowNulls
- Indicates whether to handle IPdfNull as a null reference (Nothing in Visual Basic).
- addWarning
- Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur.
Type Parameters
- T
Return Value
Returns true if no errors occur.